package com.zhm.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * Date： 2021/3/12 21:48
 *
 * @author ZHM
 */
public interface LocalBalcncer {

    /**
     * 获取所有的机器总数
     *
     * @param serviceInstances
     * @return
     */
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}
